package com.hyh.domain.query;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.hyh.common.domain.PageQuery;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@ApiModel(description = "商品分页查询条件")
@EqualsAndHashCode(callSuper = true)
public class ItemPageQuery extends PageQuery {

    @ApiModelProperty(value = "商品名称")
    private String itemName;

    @ApiModelProperty(value = "商品价格")
    private Double price;

    @ApiModelProperty(value = "商品产商")
    private String company;

    @ApiModelProperty(value = "展示方式，1 展示当前价格以下 2 展示当前价格以上")
    private Integer OrderTo = 1;

}
